/* eslint-disable */

import React from 'react';
import { getIconColor } from './helper';

const DEFAULT_STYLE = {
  display: 'block',
};

const IconShenfenrenzheng = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M413.544 521.542c-0.066-5.348-1.302-32.904-17.717-49.327-7.416-7.408-19.826-13.877-39.356-23.65-9.839-4.919-26.221-13.119-30.209-16.876 16.646-20.46 26.304-43.566 26.304-63.797 0-13.72 0-30.794-7.697-46.039-6.905-13.72-22.381-30.061-56.776-30.061s-49.871 16.341-56.792 30.061c-7.68 15.245-7.68 32.319-7.68 46.039 0 20.247 9.658 43.336 26.303 63.797-3.988 3.774-20.37 11.957-30.193 16.876-19.579 9.773-31.939 16.242-39.373 23.65-16.398 16.423-17.651 43.979-17.75 49.327-0.049 5.596-0.495 11.215 3.428 15.212 3.923 3.996 7.417 6.032 13.02 6.032H398.25c5.604 0 8.355-2.226 12.294-6.205 3.923-3.997 3.116-9.443 3-15.039z m-15.871 4.532c-1.005 0.997-2.291 1.565-3.725 1.565l-210.954-0.527a5.241 5.241 0 0 1-3.725-1.558c-0.973-0.988-1.533-4.169-1.5-5.562 0.05-2.629 0.231-21.631 12.608-34.017 5.719-5.719 12.772-11.726 30.061-21.096 17.124-9.271 26.353-14.42 33.225-17.931l19.777-11.602-11.866-15.558c-14.503-17.808-21.886-34.428-21.886-50.893 0-12.698 3.214-32.665 9.229-44.564 7.169-14.231 17.981-19.687 39.175-19.687 21.194 0 33.292 4.393 40.46 18.632 5.999 11.899 9.757 31.618 9.757 44.3 0 16.448-7.68 34.675-22.15 52.475l-12.904 15.088 8.685 5.479c6.345 4.664 14.19 9.592 32.962 18.986 17.585 8.784 35.417 17.222 41.136 22.941 10.07 10.07 12.772 27.449 12.904 37 0.034 1.395-0.296 5.532-1.269 6.529z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <path
        d="M861.427 146.192H162.559c-64.325 0-116.47 52.153-116.47 116.478v465.92c0 64.324 52.145 116.478 116.47 116.478h698.868c64.34 0 116.484-52.153 116.484-116.478V262.67c0-64.324-52.144-116.478-116.484-116.478z m78.265 582.398c0 32.138-46.162 77.006-78.266 77.006H162.559c-32.104 0-79.157-44.868-79.157-77.006V262.67c0-32.129 47.053-77.072 79.157-77.072h698.868c32.104 0 78.266 44.943 78.266 77.072v465.92z"
        fill={getIconColor(color, 1, '#333333')}
      />
      <path
        d="M487.741 354.246h372.465v38.219H487.741z"
        fill={getIconColor(color, 2, '#333333')}
      />
      <path
        d="M487.741 502.572h372.465v37.609H487.741z"
        fill={getIconColor(color, 3, '#333333')}
      />
      <path
        d="M162.559 656.363h698.868v41.259H162.559z"
        fill={getIconColor(color, 4, '#333333')}
      />
    </svg>
  );
};

IconShenfenrenzheng.defaultProps = {
  size: 18,
};

export default IconShenfenrenzheng;
